<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>弹出窗口</title>
    <link rel="stylesheet" type="text/css" href="../../themes/bootstrap/cetc54.ui.all.css">

</head>
<body>
asdfasdff<br/>
asdfasdff<br/>
asdfasdff<br/>
asdfasdff<br/>
asdfasdff<br/>
asdfasdff<br/>
asdfasdff<br/>
asdfasdff<br/>
asdfasdff<br/>
asdfasdff<br/>
asdfasdff<br/>
asdfasdff<br/>
asdfasdff<br/>
asdfasdff<br/>
asdfasdff<br/>
asdfasdff<br/>
asdfasdff<br/>
asdfasdff<br/>
asdfasdff<br/>
<button class="button" onclick="$('#pal').uiDialog('open')">打开</button>
<button class="button" onclick="$('#pal').uiDialog('close')">关闭</button>
<div id="pal">
    <div>内容</div>
</div>
asdfasdff<br/>
asdfasdff<br/>
asdfasdff<br/>
asdfasdff<br/>
asdfasdff<br/>
asdfasdff<br/>
asdfasdff<br/>
asdfasdff<br/>
asdfasdff<br/>
asdfasdff<br/>
asdfasdff<br/>
asdfasdff<br/>
asdfasdff<br/>
asdfasdff<br/>
asdfasdff<br/>
asdfasdff<br/>
asdfasdff<br/>
asdfasdff<br/>
asdfasdff<br/>
asdfasdff<br/>
asdfasdff<br/>
asdfasdff<br/>
asdfasdff<br/>
asdfasdff<br/>
asdfasdff<br/>
asdfasdff<br/>
asdfasdff<br/>
asdfasdff<br/>
asdfasdff<br/>
asdfasdff<br/>
asdfasdff<br/>
asdfasdff<br/>
asdfasdff<br/>
asdfasdff<br/>
asdfasdff<br/>
asdfasdff<br/>
asdfasdff<br/>
asdfasdff<br/>
asdfasdff<br/>
asdfasdff<br/>
asdfasdff<br/>
asdfasdff<br/>
asdfasdff<br/>
asdfasdff<br/>
asdfasdff<br/>
</body>
<script type="text/javascript" src="../../lib/jquery-1.11.0.min.js"></script>
<script type="text/javascript" src="../../release/cetc54.ui.all.js"></script>
<script>
    $(function () {
        $('#pal').uiDialog({
            icon: 'list',
            title: '面板测试',
            width: 400,
            height: 400,
            mask:true,
            buttons:[
                {
                    id:'btnOK',
                    label:'保存',
                    icons:{left:'icon_add'},
                    style: 'button_submit',
                    disabled: false,
                    onClick: function(){alert('保存')}
                },
                {
                    id:'btnCancel',
                    label:'取消',
                    icons:{left:'icon_cancel'},
                    disabled: false,
                    style: 'button_cancel',
                    onClick: function(){
                        $('#pal').uiDialog('close');
                    }
                }
            ]
        });
    })
</script>
</html>